domain-name

This command defines the domain name that client should use when resolving hostnames via DNS on the specified interface.

Syntax

domain-name <domain name>
no domain-name 

Command

Description

domain name

Specifies the domain name that client should use when resolving hostnames via DNS. This parameter is optional. (BOOTP / DHCP Option 15).

Default

NA

Functional notes

NA

Command Mode

Privileged User

Related Commands

This command is also available from the interface configuration sub-directory. See ip dhcp-server.

Example

This example sets the domain name.

(dhcp-conf-VLAN 5)# domain-name domain.name.com

This example clears the domain name.

(dhcp-conf-VLAN 5)# no domain-name